package cn.sixmillions.yuqueblog.service;

import cn.sixmillions.yuqueblog.entity.Repo;
import cn.sixmillions.yuqueblog.entity.Toc;

import java.util.List;

/**
 * @description: 知识库接口
 * @author: sixmillions
 * @since: 2021/12/12
 **/
public interface IRepoService {

    /**
     * 获取知识库列表接口
     *
     * @param login
     * @return
     */
    List<Repo> getRepoList(String login);

    /**
     * 或者知识库目录
     *
     * @param namespace
     */
    List<Toc> getToc(String namespace);

}
